package com.ttj.domain.oracle.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperWebPrize implements Serializable {
    private Integer prizeId;

    private String prizeName;

    private Date indate;

    /**
     * 数量
     */
    private Integer prizeNum;

    /**
     * 虚拟币-（虚拟币加钱）
     */
    private Double prizePoint;

    /**
     * 钱-（虚拟币加钱）
     */
    private Double xubi;

    /**
     * 0 下架 1 上架  9 已删除
     */
    private Integer flag;

    /**
     * 商品图片 兑奖列表里的图片
     */
    private String imgPath;

    /**
     * 缩略图路径 , 分隔
     */
    private String thumbnails;

    /**
     * 商品详情图片路径 , 分隔
     */
    private String detailpics;

    /**
     * 奖品说明
     */
    private String prizeInfo;

    /**
     * 只用钱购买
     */
    private Double money;

    /**
     * 热门商品 0-否；1-是
     */
    private Integer ishot;

    /**
     * 品类id（对应表sysconf_prize_category中id）
     */
    private Integer categoryId;

    /**
     * 1 再生   0不再生
     */
    private Integer isrecprize;

    /**
     * 商品描述
     */
    private String description;

    private static final long serialVersionUID = 1L;

    public Integer getPrizeId() {
        return prizeId;
    }

    public void setPrizeId(Integer prizeId) {
        this.prizeId = prizeId;
    }

    public String getPrizeName() {
        return prizeName;
    }

    public void setPrizeName(String prizeName) {
        this.prizeName = prizeName;
    }

    public Date getIndate() {
        return indate;
    }

    public void setIndate(Date indate) {
        this.indate = indate;
    }

    /**
     * 数量
     */
    public Integer getPrizeNum() {
        return prizeNum;
    }

    /**
     * 数量
     */
    public void setPrizeNum(Integer prizeNum) {
        this.prizeNum = prizeNum;
    }

    /**
     * 虚拟币-（虚拟币加钱）
     */
    public Double getPrizePoint() {
        return prizePoint;
    }

    /**
     * 虚拟币-（虚拟币加钱）
     */
    public void setPrizePoint(Double prizePoint) {
        this.prizePoint = prizePoint;
    }

    /**
     * 钱-（虚拟币加钱）
     */
    public Double getXubi() {
        return xubi;
    }

    /**
     * 钱-（虚拟币加钱）
     */
    public void setXubi(Double xubi) {
        this.xubi = xubi;
    }

    /**
     * 0 下架 1 上架  9 已删除
     */
    public Integer getFlag() {
        return flag;
    }

    /**
     * 0 下架 1 上架  9 已删除
     */
    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    /**
     * 商品图片 兑奖列表里的图片
     */
    public String getImgPath() {
        return imgPath;
    }

    /**
     * 商品图片 兑奖列表里的图片
     */
    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    /**
     * 缩略图路径 , 分隔
     */
    public String getThumbnails() {
        return thumbnails;
    }

    /**
     * 缩略图路径 , 分隔
     */
    public void setThumbnails(String thumbnails) {
        this.thumbnails = thumbnails;
    }

    /**
     * 商品详情图片路径 , 分隔
     */
    public String getDetailpics() {
        return detailpics;
    }

    /**
     * 商品详情图片路径 , 分隔
     */
    public void setDetailpics(String detailpics) {
        this.detailpics = detailpics;
    }

    /**
     * 奖品说明
     */
    public String getPrizeInfo() {
        return prizeInfo;
    }

    /**
     * 奖品说明
     */
    public void setPrizeInfo(String prizeInfo) {
        this.prizeInfo = prizeInfo;
    }

    /**
     * 只用钱购买
     */
    public Double getMoney() {
        return money;
    }

    /**
     * 只用钱购买
     */
    public void setMoney(Double money) {
        this.money = money;
    }

    /**
     * 热门商品 0-否；1-是
     */
    public Integer getIshot() {
        return ishot;
    }

    /**
     * 热门商品 0-否；1-是
     */
    public void setIshot(Integer ishot) {
        this.ishot = ishot;
    }

    /**
     * 品类id（对应表sysconf_prize_category中id）
     */
    public Integer getCategoryId() {
        return categoryId;
    }

    /**
     * 品类id（对应表sysconf_prize_category中id）
     */
    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    /**
     * 1 再生   0不再生
     */
    public Integer getIsrecprize() {
        return isrecprize;
    }

    /**
     * 1 再生   0不再生
     */
    public void setIsrecprize(Integer isrecprize) {
        this.isrecprize = isrecprize;
    }

    /**
     * 商品描述
     */
    public String getDescription() {
        return description;
    }

    /**
     * 商品描述
     */
    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", prizeId=").append(prizeId);
        sb.append(", prizeName=").append(prizeName);
        sb.append(", indate=").append(indate);
        sb.append(", prizeNum=").append(prizeNum);
        sb.append(", prizePoint=").append(prizePoint);
        sb.append(", xubi=").append(xubi);
        sb.append(", flag=").append(flag);
        sb.append(", imgPath=").append(imgPath);
        sb.append(", thumbnails=").append(thumbnails);
        sb.append(", detailpics=").append(detailpics);
        sb.append(", prizeInfo=").append(prizeInfo);
        sb.append(", money=").append(money);
        sb.append(", ishot=").append(ishot);
        sb.append(", categoryId=").append(categoryId);
        sb.append(", isrecprize=").append(isrecprize);
        sb.append(", description=").append(description);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperWebPrize other = (SuperWebPrize) that;
        return (this.getPrizeId() == null ? other.getPrizeId() == null : this.getPrizeId().equals(other.getPrizeId()))
            && (this.getPrizeName() == null ? other.getPrizeName() == null : this.getPrizeName().equals(other.getPrizeName()))
            && (this.getIndate() == null ? other.getIndate() == null : this.getIndate().equals(other.getIndate()))
            && (this.getPrizeNum() == null ? other.getPrizeNum() == null : this.getPrizeNum().equals(other.getPrizeNum()))
            && (this.getPrizePoint() == null ? other.getPrizePoint() == null : this.getPrizePoint().equals(other.getPrizePoint()))
            && (this.getXubi() == null ? other.getXubi() == null : this.getXubi().equals(other.getXubi()))
            && (this.getFlag() == null ? other.getFlag() == null : this.getFlag().equals(other.getFlag()))
            && (this.getImgPath() == null ? other.getImgPath() == null : this.getImgPath().equals(other.getImgPath()))
            && (this.getThumbnails() == null ? other.getThumbnails() == null : this.getThumbnails().equals(other.getThumbnails()))
            && (this.getDetailpics() == null ? other.getDetailpics() == null : this.getDetailpics().equals(other.getDetailpics()))
            && (this.getPrizeInfo() == null ? other.getPrizeInfo() == null : this.getPrizeInfo().equals(other.getPrizeInfo()))
            && (this.getMoney() == null ? other.getMoney() == null : this.getMoney().equals(other.getMoney()))
            && (this.getIshot() == null ? other.getIshot() == null : this.getIshot().equals(other.getIshot()))
            && (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
            && (this.getIsrecprize() == null ? other.getIsrecprize() == null : this.getIsrecprize().equals(other.getIsrecprize()))
            && (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getPrizeId() == null) ? 0 : getPrizeId().hashCode());
        result = prime * result + ((getPrizeName() == null) ? 0 : getPrizeName().hashCode());
        result = prime * result + ((getIndate() == null) ? 0 : getIndate().hashCode());
        result = prime * result + ((getPrizeNum() == null) ? 0 : getPrizeNum().hashCode());
        result = prime * result + ((getPrizePoint() == null) ? 0 : getPrizePoint().hashCode());
        result = prime * result + ((getXubi() == null) ? 0 : getXubi().hashCode());
        result = prime * result + ((getFlag() == null) ? 0 : getFlag().hashCode());
        result = prime * result + ((getImgPath() == null) ? 0 : getImgPath().hashCode());
        result = prime * result + ((getThumbnails() == null) ? 0 : getThumbnails().hashCode());
        result = prime * result + ((getDetailpics() == null) ? 0 : getDetailpics().hashCode());
        result = prime * result + ((getPrizeInfo() == null) ? 0 : getPrizeInfo().hashCode());
        result = prime * result + ((getMoney() == null) ? 0 : getMoney().hashCode());
        result = prime * result + ((getIshot() == null) ? 0 : getIshot().hashCode());
        result = prime * result + ((getCategoryId() == null) ? 0 : getCategoryId().hashCode());
        result = prime * result + ((getIsrecprize() == null) ? 0 : getIsrecprize().hashCode());
        result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
        return result;
    }
}